// 自动生成模板MessageRemind
package manager

import (
	"gitcode.com/G-YT/ANN/server/global"
)

// MessageRemind 消息提醒
type MessageRemind struct {
	global.GVA_MODEL
	HmID          uint            `json:"hm_id" form:"hm_id" gorm:"column:hm_id;comment:健管师ID;"`                  //健管师ID
	HealthManager FdHealthManager `json:"healthManager" form:"-" gorm:"->;foreignKey:HmID;references:HmId;"`      //健管师相关
	Remind        string          `json:"remind" form:"remind" gorm:"column:remind;comment:消息提醒;type:text;"`      //消息提醒
	UserID        uint            `json:"user_id" form:"user_id" gorm:"column:user_id;comment:用户ID;"`             //用户ID
	Status        bool            `json:"status" form:"status" gorm:"column:status;comment:是否已评分;default:false;"` //是否评分
	Score         uint            `json:"score" form:"score" gorm:"column:score;comment:用户评分;default:0;"`         //用户评分
}

// TableName 消息提醒 MessageRemind自定义表名 MessageRemind
func (MessageRemind) TableName() string {
	return "fd_message_remind"
}
